home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / bbsdoors / tmastr40.zip / TM_CODE.ZIP / TMCODE.DOC next >
Text File  |  1993-01-07  |  6KB  |  127 lines

  1.  
  2.                         TMCODE for Trivia MASTER! v3.3  
  3.                              (C)1991 Marvin Davis
  4.  
  5.                  (FOR REGISTERED USERS OF Trivia MASTER! only)
  6.  
  7.      Creating more Trivia data files.
  8.      --------------------------------
  9.      The following info will be a guide for creating TMCFG_x.DAT (x = 1-9) 
  10.      files for different Triva games.  The following description will assist 
  11.      you in the necessary correct format to create a different trivia game 
  12.      from a data file you must create.  
  13.  
  14.      Datafile Creation
  15.      -----------------
  16.      1. Create a ASCII file with the first line being a question and less than
  17.         80 characters long, ending with a CR LF (carriage return - line feed).
  18.         Nearly all ASCII editors can do this for you.
  19.  
  20.         On the following line will be the ANSWER to the above question in one,
  21.         two or three words at the most - again less than 48 characters.
  22.  
  23.         So to start, your data file will have questions on ODD lines and the
  24.         correct answers on EVEN lines.  Your file must be in this format for
  25.         proper encoding for the game to use.  The maximum number of questions 
  26.         and answers are unlimited!
  27.  
  28.      2. On completing your trivia datafile with questions and answers that are
  29.         appropriately formatted you can now ENCODE it for the game to use.
  30.  
  31.         Name your datafile something like STARTREK.ASC so that you can keep a
  32.         record (copy) of this file for future changes or updates.  To create
  33.         an encoded file now, call TMCODE.EXE with the correct command line
  34.         parameter.  In the above example you now can do this;
  35.  
  36.           +-- Encoder program
  37.           |     +-- create file mode (encode)
  38.           |     |     +--Read file
  39.           |     |     |            +--Write file
  40.           |     |     |            | 
  41.         TMCODE /E STARTREK.ASC TMCFG_2.DAT
  42.       
  43.      3. Now you have an encoded datafile for the game to read.  You need to 
  44.         setup the game as ANOTHER DOOR in another directory to keep things
  45.         separate (its easier) and add the game as another door game. To CALL 
  46.         the game to now READ a different game file and add a different Title 
  47.         to the game you add these commands in your calling batchfile.
  48.       
  49.         TRIVIA /RBBS /G 2 /T StarTrek
  50.            |      |     |       |
  51.            |      |     |       +-- Game Name with Leading "/T " switch
  52.            |      |     +-- game number for TMCFG_x.DAT file (x = 1-9)
  53.            |      +-- BBS game/callerfile type
  54.            +-- game executable
  55.  
  56.      4. The "/G" switch makes the program read a different "TMCFG" data file
  57.         and the "/T" switch is for a 16 character or less game Title in one
  58.         or two words maximum.
  59.  
  60.                                                                 Page (1)
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      5. Note a SPACE after the "/G" switch for game number and "/T" for the
  71.         new title as the example above shows!
  72.  
  73.      Datafile Decoding
  74.      -----------------
  75.      5. To "decode" any file back to an ASCII one, you can reverse the process
  76.         with TMCODE to ask it to decode a TMCFG_x.DAT file with a simular
  77.         command line parameter call;
  78.  
  79.         TMCODE /D READFILE WRITEFILE
  80.           |     |    |         |
  81.           |     |    |         +-- the ASCII contents of TMCFG_x.DAT file
  82.           |     |    +-- TMCFG_x.DAT file to read
  83.           |     +-- decode command switch
  84.           +-- Encode/decode program
  85.  
  86.      6. To decode the Rock Trivia release datafile into an ASCII file so you 
  87.         could read and "peek" the answers to the rock questions, you can use
  88.         the following command line to produce an ASCII readable file;
  89.  
  90.         TMCODE /D TMCFG_1.DAT ROCK.ASC
  91.  
  92.         When completed, you will have all the current questions and answers
  93.         for the Rock configuration in the file "ROCK.ASC".  Do not leave this 
  94.         file laying round or allow users to download it, as it totally defeats
  95.         the purpose of the game in friendly competition.  If your users know 
  96.         answers to all the questions, it then no longer becomes a competitive
  97.         and fun game.
  98.  
  99.      7. Some friends and BBS users of mine are aiding in producing canned
  100.         "ready made" trivia files for release as game add on's for the near
  101.         future.  Baseball and Computer trivia are hopefully coming soon.
  102.  
  103.      8. Most importantly, you are not allowed to place the datafiles and your
  104.         TMCODE.EXE file for other sysops to download and use.  This is for
  105.         registered users of Trivia MASTER! only.  Only registered games will
  106.         allow themselves to be altered for other game formats and are support
  107.         utilities only.
  108.  
  109.      9. To recap the program limitations, the maximum number of questions
  110.         and answers are unlimited.  Be aware of the question and answer line
  111.         length limits!  You must use the TMCODE.EXE executable to create the
  112.         TMCFG.x.DAT file for your game to read in and that is a command line
  113.         parameter.  It is possible to "decode" a game data file in the event
  114.         you loose or erase your ASCII source.  You can edit it, make changes
  115.         and then re-encode it again!
  116.  
  117.     10. The sole "intent" of datafile encoding is to PREVENT CHEATING!  The
  118.         encoder makes the file totally unreadable, like a .ZIP file might be.
  119.         Do not allow anyone to download your TMCODE.EXE program as they could
  120.         possibly figure out how to download the Shareware release game and 
  121.         then decode the current datafile (Rock Trivia) and then have a cheat-
  122.         sheet!  So, keep the TMCODE program OFF your harddisk- make the users
  123.         "work" for their 'top-dog' spot on the diamond...
  124.  
  125.                                                                 Page (2)
  126.  
  127.